From: Steven Smith Date: Mon, 6 Nov 2006 09:46:13 +0000 (+0000) Subject: [HVM] Be sure to nul terminate uuids in HVM SMBIOS tables. X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=5c445c2f6dbd4e48712a5b6298c56df45f1ff158;p=xen.git [HVM] Be sure to nul terminate uuids in HVM SMBIOS tables. Signed-off-by: Steven Smith --- diff --git a/tools/firmware/hvmloader/util.c b/tools/firmware/hvmloader/util.c index a03c0b621d..85cbcbe82f 100644 --- a/tools/firmware/hvmloader/util.c +++ b/tools/firmware/hvmloader/util.c @@ -227,4 +227,5 @@ uuid_to_string(char *dest, uint8_t *uuid) byte_to_hex(p, uuid[i]); p += 2; } + *p = 0; }